﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="AddFacebookCover.aspx.cs" Inherits="Admin_Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="top-bar select-bar">
        <h1>
            <b>Add Facebook TimeLine Cover </b>
        </h1>
    </div>
    <br />
    <div class="table">
        <table>
            <tr>
                <td>
                    <asp:Label ID="lblSubCategory" Font-Bold="true" runat="server" Text="Select Sub Category: "></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlSubCategory" runat="server" Width="150%">
                        <asp:ListItem Text="------Select Sub Category------" Value="0"></asp:ListItem>
                        <asp:ListItem Text="LOve Covers" Value="1"></asp:ListItem>
                        <asp:ListItem Text="FriendShip Covers" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Valentine Covers" Value="3"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblTimeLineCoverName" Font-Bold="true" runat="server" Text="Cover Name : "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtTimeLineCoverName" TextMode="MultiLine" Height="500%" runat="server"
                        Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblOwner" Font-Bold="true" runat="server" Text="Owner: "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtOwner" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblTimeLineCoverPath" Font-Bold="true" runat="server" Text="Cover Path: "></asp:Label>
                </td>
                <td>
                       <asp:FileUpload ID="FileUploadTimeLineCover" runat="server" />
                </td>
            </tr>
            
            <tr>
                <td>
                </td>
                <td align="center">
                    <asp:Button ID="btnAddCover" Font-Bold="true" OnClientClick="return ValidateAddFacebookCover('ddlSubCategory','txtTimeLineCoverName','txtOwner','FileUploadTimeLineCover')"
                        Text="Add" runat="server" />
                </td>
            </tr>
        </table>
    </div>
    <br />
    <div class="table">
        <asp:GridView ID="grdCover" runat="server" AutoGenerateColumns="false" ShowHeader="true">
            <Columns>
                <asp:TemplateField HeaderText="ID">
                    <ItemTemplate>
                        <asp:Label ID="lblCoverID" tex="1" runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Cover">
                    <ItemTemplate>
                        <asp:Label ID="lblCover" tex="2011" runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Owner">
                    <ItemTemplate>
                        <asp:Label ID="lblSMSOwner" tex="2011" runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:CommandField ShowEditButton="True" />
            </Columns>
        </asp:GridView>
    </div>

</asp:Content>

